@import (reference) "~weaver-mobile/dist/weaver-mobile.less";

@mtListEditablePrefixCls: mt-list-editable;

.@{mtListEditablePrefixCls} {
  background: @fill-body;
  height: 100%;
  &-operation-icon {
    width: 27 * @hd;
    height: 27 * @hd;
    // padding: 3 * @hd;
    color: @brand-primary;
    background: @fill-body;
    &.am-icon-tianjia {
      color: @brand-primary;
    }
    &.am-icon-shanchu {
      color: @brand-error;
    }
    &.disabled {
      color: @fill-disabled;
    }
    &.icon-left-spacing {
      margin-left: 26*@hd;
    }
  }
  &-title-container {
    display: flex;
    justify-content: flex-end;
    padding: 10*@hd 23*@hd 10*@hd 10*@hd;
    background: @fill-body;
  }
  &-time-content {
    height: calc(~'100% - '47 * @hd);
    overflow: auto;
    .time-list-flex {
      background-color: #fff;
    }
    .am-flexbox {
      border-bottom: 1 * @hd solid @border-color-base;
      margin-left: 12 * @hd;
    }
    .am-flexbox-item {
      flex: none;
      margin-left: 0;
    }
    .am-list-body{
      border-bottom: 0;
      .am-list-form {
        .am-list-label {
          flex-basis: 148 * @hd;
          padding-left: 0;
          padding-right: 0;
        }
      }
    }
    .am-list-form.line.border {
      border-bottom: 0;
    }
    .time-list-flex-item {
      height: 88 * @hd;
      .time-list-flex-check {
        flex-basis: 22*@hd;
        line-height: 88 * @hd;
      }
      .time-list-flex-timer {
        flex-basis: calc(~'100% -'22*@hd);
        .am-list-content {
          height: 86 * @hd;
        }
        .am-picker-input-required {
          line-height: 38 * @hd;
        }
      }
    }
  }
}